package com.qingcloud.base.remote.datafusion;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 数据开发组件源码文档表
 * </p>
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SourceInfo implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 自增主键 修改时传递
     */
    private Integer id;

    @ApiModelProperty(value = "编程语言类型，编程语言类型1、java  2、python;3：jar; 4:json;  5:pic; 6:video",example = "1")
    private Integer languageType;

    /**
     * 组件ID 只是作为前端关联参数，不跟source数据库挂钩
     */
    private Integer componentId;

    /**
     * 组件ID
     */
    private Integer fileType;

    /**
     * 组件源码
     */
    private String source;

    /**
     * 组件使用文档
     */
    private String doc;
    private Integer pubState;
    private Integer state;
}
